package com.info.zhiduoduo.repository.entity.notice;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("zdd_dingding_notice")
public class DingdingNotice extends Model<DingdingNotice> {

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	private String content;
	/**
	 * 类型： 1：投诉 2： 3：发给企业 4：发给合伙人  -1:测试
	 */
	private Integer type;
	/**
	 * 发送结果
	 */
	private String result;
	private Date createtime;

	@Override
	protected Serializable pkVal() {
		return id;
	}
}
